package com.itheima.health.dao;

import com.itheima.health.pojo.CheckGroupItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface CheckGroupItemMapper extends Mapper<CheckGroupItem> {
    @Select("SELECT checkgroup_id as checkgroupId , checkitem_id as checkitemId FROM t_checkgroup_checkitem WHERE checkgroup_id = #{checkgroup_id}")
    List<CheckGroupItem> findbycheckgroupid(@Param("checkgroup_id") Integer id);
}
